package com.subsequent.service;

import com.github.pagehelper.PageInfo;
import com.subsequent.dto.ConsultationsQueryDTO;
import com.subsequent.pojo.Consultations;
import com.baomidou.mybatisplus.extension.service.IService;
import com.subsequent.vo.ConsultationsVO;

import java.util.List;

/**
* @author 不.凌
* @description 针对表【consultations(在线问诊表)】的数据库操作Service
* @createDate 2025-05-08 11:50:08
*/
public interface ConsultationsService extends IService<Consultations> {
    /**
     * 获取问诊列表
     * @param consultationsQueryDTO
     * @return
     */
    PageInfo<ConsultationsVO> getConsultationsList(ConsultationsQueryDTO consultationsQueryDTO);

    /**
     * 根据问诊id获取问诊详情
     * @param consultationId
     * @return
     */
    List<ConsultationsVO> getByConsultations(Integer consultationId);

    /**
     * 退费
     * @param consultationsVO
     * @return
     */
    int updateFeeInt(ConsultationsVO consultationsVO);
}
